// src/components/BackToTop/BackToTop.tsx
import React from 'react';
import { BackTop } from 'antd';
import { ArrowUpOutlined } from '@ant-design/icons';
import './index.less';

const BackToTop: React.FC = () => {
  return (
    <BackTop>
      <div className="back-to-top">
        <ArrowUpOutlined />
      </div>
    </BackTop>
  );
};

export default BackToTop;
